Soby Web Components

This example demonstrates how to use Soby Item Selection as treeview selection.
Setting item selector type as "SobyItemSelectorTypes.TreeView" will make it work as treeview selection.

itemSelection = new soby_ItemSelection("#soby_BooksDiv", "Meters", SobyItemSelectorTypes.TreeView, autoCompleteBookDataService, advancedSearchBookDataService, advancedSearchBookChildDataService, "No record", "BookSelectionDialog", "/Management/CustomerSelection.html", "Id", "Title", "ParentId"); 
            itemSelection.AllowMultipleSelections = false;
            itemSelection.Initialize();
        

View source
Want to learn more about the item selection component? Check out the API documentation.